<script setup>
// 小程序不支持属性透传
const emit = defineEmits(['click'])
</script>

<template>
    <button
        class="flex h-12 w-full max-w-96 items-center justify-center rounded-md bg-zinc-950 text-base text-zinc-100"
        @click="emit('click')"
    >
        <slot></slot>
    </button>
</template>
